<?php
//配置文件
return [
    'lang_switch_on'=>true,
	'app_trace' =>  true,
	'default_filter' => 'htmlspecialchars',
	'url_route_on'  =>  true,
	'url_route_must'=>  true,
	'is_app' => false,
	//'default_return_type'=> 'json',
	'key' =>'shsy',
	'trace' =>[
	    //支持Html,Console 设为false则不显示
	    'type'  =>  'html',
	], 
	'is_test' => true,
	'sms'=>[
		'wm'=>[
			'url'=>'http://api.weimi.cc/2/sms/send.html',
			'account'=>'cmgL4xatXqL6',
			'pass'=>'895aqm4m',
			'cid'=>'0ag53f20taG5',
			'type'=>'json',
			'method'=>'get'
		]
	],
	'oss'=>[
		'accessKeyId' => 'gw9QdAPaIsYjR1Uu',
		'accessKeySecret' => 'dyOOXvGW0Q6bG05Agr7hXJCr5wdBDd',
		'endpoint' => 'oss.shsytour.com',
		'iscname' => true,
		'bucket' => 'shsytour',
	],
	//订单状态
	'order' => [
		'order_obligation_status' => 100,//待付款
		'order_stay_in_status' =>101,//待入住
		'order_refund_status' => 102,//退款中(待入住取消订单)
		'order_cancel_status' => 103,//取消订单(包括待付款取消的订单和待入住取消退款后的订单)
		'order_check_in_status' => 200,//入住中
		'order_leave_status' => 201,//已离开，
		'order_refund_deposit_status' => 202,//返还押金中
		'order_finish_status' => 203,//完成的订单
	],
	// 异常页面的模板文件
    'exception_tmpl'         => THINK_PATH . 'tpl' . DS . 'think_exception.tpl',
  	'dispatch_success_tmpl'  => __DIR__ . '/../common/success.php',
    'dispatch_error_tmpl'    => __DIR__ . '/../common/success.php',
];

